{% extends 'base.html' %} {% block title %} {{ SITENAME|striptags }} - 所有文章
{% endblock %} {% block content %}
<h2 class="text-center m-2">{{ SITENAME }} - 文章归档</h2>
<div class="container col-10">
    <table class="table table-striped">
        <thead>
          <tr>
            <th scope="col">#</th>
            <th scope="col">标题</th>
            <th scope="col">创建日期</th>
            <th scope="col">最后修改时间</th>
          </tr>
        </thead>
        <tbody>
            {% for article in dates %}
                <tr>
                    <th scope="row">{{ loop.index }}</th>
                    <td><a href="{{ SITEURL }}/{{ article.url }}" class="link-primary link-offset-2 link-underline-opacity-50 link-underline-opacity-100-hover">{{ article.title }}</a></td>
                    <td>{{ article.date.strftime('%Y-%m-%d') }}</td>
                    <td>{{ article.modified.strftime('%Y-%m-%d %H:%m:%S') }}</td>
                </tr>
            {% endfor %}
        </tbody>
      </table>
</div>

{% endblock %}
